/**
 * 
 */
package com.chainwintel.prjmgmt.service;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.chainwintel.prjmgmt.model.MenuCategory;
import com.chainwintel.prjmgmt.repository.GenericRepository;

/**
 * 用于菜单目录管理
 * @author dearshor
 *
 */
public interface MenuCategoryMgr extends GenericRepository<MenuCategory> {

	List<MenuCategory> listRootCategories() throws DataAccessException;

	void edit(MenuCategory parentCategory, MenuCategory category)  throws DataAccessException;

	MenuCategory find(long id) throws DataAccessException;
	
}
